$(function () {
    $('#register').bind('click', function () {
        $(window.location).attr('href', 'http://localhost:8080/mall_core/gotoAddUser.do');
    });
    $('#login').bind('click', function () {
        $(window.location).attr('href', 'http://localhost:8080/mall_core/gotoLogin.do');
    });

    $('#gotoProductManage').bind('click', function () {
        $(window.location).attr('href', '/mall_core/gotoProductManage.do');
    })
});